package com.rffanlab.elkdemo.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("api/v1/test")
public class TestController {

    private Logger logger = LoggerFactory.getLogger(getClass());


    @RequestMapping("/testLog")
    public Object testLog() {
        logger.info("测试成功打印日志");
        return "ok";
    }



}
